package com.zou.mapper;

import com.zou.pojo.Info;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface InfoMapper {
    List<Info> selectSomeInfoByInfo(Info info);

    List<Info> findInfoByMaxId(int id);

    int updateInfoHitsById(int id);

    Integer insertInfo(Info info);

    Integer deleteInfoByInfoIds(Integer[] ids);

    Integer updateInfo(Info info);

    List<Info> selectInfoByConditionForPage(Map<String, Object> map);

    int selectCountOfInfoByCondition(Map<String, Object> map);
}
